package com.ncloud.auth.service;

import com.alibaba.fastjson.JSONObject;

public interface AuthService {

	JSONObject login(String username, String password);

	String refresh(String token);

	void destroy(String token);

	void forgetPassword(String userName);

	Long checkAuthCode(String authCode);

	void resetPassword(Long userId, String authCode, String password);

}
